package com.sq.partner.manager.service;

import com.sq.partner.manager.util.Page;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface CtripService {
    /**
     * 查询携程统计数据页
     * @param page
     * @return
     */
    Page queryStatisticsPage(Page page) throws Exception;

    /**
     * 查询失败保单
     * @param page
     * @return
     */
    Page queryPolicyPageByEffecttime(Page page) throws Exception;

    void downloadExcel(List ctripList, HttpServletResponse response) throws Exception;

    List<Map<String, Object>> queryAllPolicyByEffecttime(Page page) throws Exception;
}
